﻿@using Janus.Mes.VO;
@model IEnumerable<ComputationUnitVO>
@{
    Layout = null;
    int i = 1;
    ViewBag.ViewTitle = "计量单位";
    var SearchParma = ViewData["SearchParma"] as ComputationUnitVO ?? new ComputationUnitVO();
}
<form id="pagerForm" method="get" action="EMTItem/ComputationUnit/Select/Select?action=page&OpID=@ViewData["OperateID"]">
    <input type="hidden" name="pageNum" value="1" />
    <input type="hidden" name="numPerPage" value="@ViewData["pageSize"]" />
    <input type="hidden" name="RowCount" value="@ViewData["RowCount"]" />
    <input type="hidden" name="LocCode" value="@SearchParma.UnitCode" />
    <input type="hidden" name="LocName" value="@SearchParma.UnitName" />
</form>
<div class="pageHeader">
    <form rel="pagerForm" method="post" action="EMTItem/ComputationUnit/Select" onsubmit="return dwzSearch(this, 'dialog');">
        <div class="searchBar">
            <ul class="searchContent">
                <li>
                    <label>环境单位编号:</label>
                    @Html.TextBox("UnitCode", SearchParma.UnitCode)
                </li>
                <li>
                    <label>环境单位名称:</label>
                    @Html.TextBox("UnitName", SearchParma.UnitName)
                </li>
            </ul>
            <div class="subBar">
                <ul>
                    <li><div class="buttonActive"><div class="buttonContent"><button type="submit">查询</button></div></div></li>
                    <li><div class="button"><div class="buttonContent"><button type="button" multlookup="orgId" warn="请选择环境单位">选择带回</button></div></div></li>
                </ul>
            </div>
        </div>
    </form>
</div>
<div class="pageContent j-resizeGrid" style="width: 806px;">
    <div class="grid">
        <div class="gridHeader">
            <div class="gridThead">
                <table class="treetable list" style="width:786px;">
                    <thead>
                        <tr class="header">
                            <th style="width: 24px;"><div class="gridCol" title=""><input type="checkbox" class="checkboxCtrl" group="orgId"></div></th>
                            <th orderfield="orgNum" style="width: 125px; cursor: pointer;" class=""><div class="gridCol" title="部门编号">环境单位编号</div></th>
                            <th orderfield="orgName" style="width: 125px; cursor: pointer;" class=""><div class="gridCol" title="部门名称">环境单位名称</div></th>
                        </tr>
                    </thead>
                </table>
            </div>
        </div>
        <div class="gridScroller" layouth="118" style="width: 806px; height: 243px; overflow: auto;">
            <div class="gridTbody">
                <table style="width:786px;">
                    <tbody>
                        <tr class="">
                            <td style="width: 24px;"><div><input type="checkbox" name="orgId" value="{id:'1', orgName:'℃', orgNum:'1001'}"></div></td>
                            <td style="width: 125px;"><div>1001</div></td>
                            <td style="width: 188px;">
                                <div>℃</div>
                            </td>
                        </tr>
                        <tr class="">
                            <td style="width: 24px;"><div><input type="checkbox" name="orgId" value="{id:'1', orgName:'°', orgNum:'1002'}"></div></td>
                            <td style="width: 125px;"><div>1002</div></td>
                            <td style="width: 188px;"><div>°</div>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
        <div class="resizeMarker" style="height:300px; left:57px;display:none;"></div><div class="resizeProxy" style="height:300px; left:377px;display:none;"></div>
    </div>
</div>
@Html.Partial("PageBar")
